home *** CD-ROM | disk | FTP | other *** search
/ Gekikoh Dennoh Club 7 / Gekikoh Dennoh Club Vol. 7 (Japan).7z / Gekikoh Dennoh Club Vol. 7 (Japan) (Track 01).bin / games / otoko / source.lzh / FuncEffect / points.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-06-14  |  426 b   |  29 lines

  1. /* 表示なしの得点加算 */
  2. #include <xsp2lib.h>
  3.  
  4. #include "../otoko.h"
  5. #include "../effect.h"
  6. #include "../priority.h"
  7.  
  8. static short EffectMovePoints (EFFECT *);
  9.  
  10.  
  11. void EffectInitPoints (EFFECT * p)
  12. {
  13.     p->func_effect_move = EffectMovePoints;
  14.  
  15.     {
  16.         /* 一旦テンポラリにコピーした方が速い */
  17.         signed int t = points[p->type2];
  18.         score += t;
  19.         extend_score -= t;
  20.     }
  21. }
  22.  
  23.  
  24.  
  25. static short EffectMovePoints (EFFECT * p)
  26. {
  27.     return (-1);
  28. }
  29.